Esx Settings Repository Software Drafts ImportSpec
The Esx Settings Repository Software Drafts ImportSpec schema defines the information used to import the desired software specification into the repository.
This schema was added in vSphere API 9.0.0.0.
{
"display_name": "string",
"source_type": "string",
"location": "string",
"file_id": "string",
"software_spec": "string",
"delete_existing_draft": false
}
Display name for the draft created.
This property was added in vSphere API 9.0.0.0.
Type of the source to import the desired software specification
For more information see: Esx Settings Repository Software Drafts SourceType.
This property was added in vSphere API 9.0.0.0.
Location of the software specification file to be imported.
This property was added in vSphere API 9.0.0.0.
This property is optional and it is only relevant when the value of source_type is Esx Settings Repository Software Drafts SourceType.PULL.
File identifier returned by the file upload endpoint after file is uploaded.
This property was added in vSphere API 9.0.0.0.
This property is optional and it is only relevant when the value of source_type is Esx Settings Repository Software Drafts SourceType.PUSH.
The JSON string representing the desired software specification.
This property was added in vSphere API 9.0.0.0.
This property is optional and it is only relevant when the value of source_type is Esx Settings Repository Software Drafts SourceType.JSON_STRING.
Deletes any existing draft by the user before creating a new draft, if deleteExistingDraft is set to TRUE.
This property was added in vSphere API 9.0.0.0.
If deleteExistingDraft is either unset of set to FALSE and there is already draft created by the user, an AlreadyExists
exception is thrown.